#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int swap(int x, int y) {
	printf("x=%p  y=%p\n", &x, &y);
	int temp = x;
	x = y;
	y = temp;
	printf("x=%d y=%d\n", x, y);
}

void main07() {
	int a = 10;
	int b = 20;
	swap(a, b);
	printf("a=%d b=%d\n", a, b);
	printf("a=%p  b=%p\n", &a, &b);
}